export default [
    // 主页
    {
      path: "/home",
      // component: Home
      component: () => import("@/pages/Home"),
    },
    // 单曲
    {
      path: "/song/:ids?",
      // component: Song
      component: () => import("@/pages/Song"),
    },
    // 歌单
    {
      path: "/playlists/:id?",
      // component: PlayLists
      component: () => import("@/pages/PlayLists"),
    },
    {
      path: "/albumpage/:id?",
      //  component: AlbumPage
      component: () => import("@/pages/AlbumPage"),
    },
    {
      path: "/artist/:id?",
      //  component: Artist
      component: () => import("@/pages/Artist"),
    },
    //  懒加载
    {
      path: "/userhome/:id?",
      //  component: UserHome
      component: () => import("@/pages/UserHome"),
    },
    {
      path: "/m",
      //  component: UserHome
      component: () => import("@/pages/M"),
    },
    {
      path: "/userlevel",
      //  component: UserHome
      component: () => import("@/pages/UserLevel"),
    },
    {
      path: "/userupdate",
      component: () => import("@/pages/UserUpdate"),
    },
    {
      path: "/modificationimg",
      component: () => import("@/pages/UserUpdate/ModificationImg"),
    },
     {
      path: "/my",
      component: () => import("@/pages/My"),
    },
    {
      path: "/mymusic/:id?",
      component: () => import("@/pages/MyMusic"),
    },
    { path: "/", redirect: "/home" },
  ]